import axios from "axios";

const request = axios.create({
  baseURL: import.meta.env.VITE_APP_BASE_API,
});

request.interceptors.request.use(
  (config) => {
    return config;
  },
  (error) => {
    return Promise.rejectF;
  }
);
request.interceptors.response.use((res) => {
  return res.data;
});
export default request;
